'''
Created on 2009-4-17

@author: Administrator
'''
import unittest
from com.carnation.common.util.test import testTools


class Test(unittest.TestCase):


    def testCreate(self):
        test = testTools(__file__) 
        rsp_msg = test.requestAndRsp(1, 'Run For Test DomainService.create', \
'''
DomainService.create
    MOIDomain
        setName    "domainName"
        setDisplayName    "displayName"
''', \
'''
MOIDomain
    getName    "domainName"
    getDisplayName    "displayName"
'''
)
#    print rsp_msg
        print '\nDone'
        test.quit()


if __name__ == "__main__":
    unittest.main()
